package com.revenant.driver.bean.Driver;

import java.util.List;

/**
 * @ProjectName: Driver
 * @Package: com.revenant.driver.bean.Driver
 * @ClassName: ColorAndEnergerBean
 * @Description: java类作用描述
 * @Author: Revenant
 * @CreateDate: 2020-02-08 23:02
 * @UpdateUser: 更新者
 * @UpdateDate: 2020-02-08 23:02
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class ColorAndEnergerBean {

    /**
     * code : 0
     * msg : SUCCESS
     * sign : null
     * timestamp : 0
     * data : {"colList":[{"id":8,"code":"1","name":"蓝色","parentId":7,"isDel":false,"ctime":"2019-12-26T00:57:46.000+0000","mtime":"2019-12-26T00:57:50.000+0000","backup":"蓝色"},{"id":9,"code":"2","name":"黄色","parentId":7,"isDel":false,"ctime":"2019-12-26T00:58:17.000+0000","mtime":"2019-12-26T00:58:48.000+0000","backup":"黄色"},{"id":10,"code":"3","name":"黑色","parentId":7,"isDel":false,"ctime":"2019-12-26T01:22:52.000+0000","mtime":"2019-12-26T01:22:56.000+0000","backup":"黑色"},{"id":11,"code":"4","name":"白色","parentId":7,"isDel":false,"ctime":"2019-12-26T01:24:14.000+0000","mtime":"2019-12-26T01:24:16.000+0000","backup":"白色"},{"id":12,"code":"5","name":"绿色","parentId":7,"isDel":false,"ctime":"2019-12-26T01:24:45.000+0000","mtime":"2019-12-26T01:24:48.000+0000","backup":"绿色"},{"id":13,"code":"9","name":"其他","parentId":7,"isDel":false,"ctime":"2019-12-26T01:25:17.000+0000","mtime":"2019-12-26T01:25:19.000+0000","backup":"其他"},{"id":14,"code":"91","name":"农黄色","parentId":7,"isDel":false,"ctime":"2019-12-26T01:25:47.000+0000","mtime":"2019-12-26T01:25:51.000+0000","backup":"农黄色"},{"id":15,"code":"92","name":"农绿色","parentId":7,"isDel":false,"ctime":"2019-12-26T01:26:23.000+0000","mtime":"2019-12-26T01:26:25.000+0000","backup":"农绿色"},{"id":16,"code":"93","name":"黄绿色","parentId":7,"isDel":false,"ctime":"2019-12-26T01:27:02.000+0000","mtime":"2019-12-26T01:27:04.000+0000","backup":"黄绿色"},{"id":17,"code":"94","name":"渐变绿","parentId":7,"isDel":false,"ctime":"2019-12-26T01:27:39.000+0000","mtime":"2019-12-26T01:27:42.000+0000","backup":"渐变绿"}],"enList":[{"id":162,"code":"A","name":"汽油","parentId":161,"isDel":false,"ctime":"2019-12-26T02:48:07.000+0000","mtime":"2019-12-26T02:48:09.000+0000","backup":"汽油"},{"id":163,"code":"B","name":"柴油","parentId":161,"isDel":false,"ctime":"2019-12-26T02:48:29.000+0000","mtime":"2019-12-26T02:48:31.000+0000","backup":"柴油"},{"id":164,"code":"C","name":"电","parentId":161,"isDel":false,"ctime":"2019-12-26T02:49:01.000+0000","mtime":"2019-12-26T02:48:59.000+0000","backup":"以电能驱动的汽车"},{"id":165,"code":"D","name":"混合油","parentId":161,"isDel":false,"ctime":"2019-12-26T02:49:19.000+0000","mtime":"2019-12-26T02:49:21.000+0000","backup":"混合油"},{"id":166,"code":"E","name":"天然气","parentId":161,"isDel":false,"ctime":"2019-12-26T02:49:38.000+0000","mtime":"2019-12-26T02:49:40.000+0000","backup":"天然气"},{"id":167,"code":"F","name":"液化石油气","parentId":161,"isDel":false,"ctime":"2019-12-26T02:50:01.000+0000","mtime":"2019-12-26T02:50:03.000+0000","backup":"液化石油气"},{"id":168,"code":"L","name":"甲醇","parentId":161,"isDel":false,"ctime":"2019-12-26T02:50:22.000+0000","mtime":"2019-12-26T02:50:24.000+0000","backup":"甲醇"},{"id":169,"code":"M","name":"乙醇","parentId":161,"isDel":false,"ctime":"2019-12-26T02:50:38.000+0000","mtime":"2019-12-26T02:50:45.000+0000","backup":"乙醇"},{"id":170,"code":"N","name":"太阳能","parentId":161,"isDel":false,"ctime":"2019-12-26T02:51:00.000+0000","mtime":"2019-12-26T02:51:02.000+0000","backup":"太阳能"},{"id":171,"code":"O","name":"混合动力","parentId":161,"isDel":false,"ctime":"2019-12-26T02:51:21.000+0000","mtime":"2019-12-26T02:51:23.000+0000","backup":"混合动力"},{"id":172,"code":"Y","name":"无","parentId":161,"isDel":false,"ctime":"2019-12-26T02:51:45.000+0000","mtime":"2019-12-26T02:51:48.000+0000","backup":"仅限全挂车等无动力的"},{"id":173,"code":"Z","name":"其他","parentId":161,"isDel":false,"ctime":"2019-12-26T02:52:08.000+0000","mtime":"2019-12-26T02:52:10.000+0000","backup":"其他"}]}
     */

    private String code;
    private String   msg;
    private Object   sign;
    private int      timestamp;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getSign() {
        return sign;
    }

    public void setSign(Object sign) {
        this.sign = sign;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ColListBean> colList;
        private List<EnListBean>  enList;

        public List<ColListBean> getColList() {
            return colList;
        }

        public void setColList(List<ColListBean> colList) {
            this.colList = colList;
        }

        public List<EnListBean> getEnList() {
            return enList;
        }

        public void setEnList(List<EnListBean> enList) {
            this.enList = enList;
        }

        public static class ColListBean {
            /**
             * id : 8
             * code : 1
             * name : 蓝色
             * parentId : 7
             * isDel : false
             * ctime : 2019-12-26T00:57:46.000+0000
             * mtime : 2019-12-26T00:57:50.000+0000
             * backup : 蓝色
             */

            private int id;
            private String  code;
            private String  name;
            private int     parentId;
            private boolean isDel;
            private String  ctime;
            private String  mtime;
            private String  backup;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public boolean isIsDel() {
                return isDel;
            }

            public void setIsDel(boolean isDel) {
                this.isDel = isDel;
            }

            public String getCtime() {
                return ctime;
            }

            public void setCtime(String ctime) {
                this.ctime = ctime;
            }

            public String getMtime() {
                return mtime;
            }

            public void setMtime(String mtime) {
                this.mtime = mtime;
            }

            public String getBackup() {
                return backup;
            }

            public void setBackup(String backup) {
                this.backup = backup;
            }
        }

        public static class EnListBean {
            /**
             * id : 162
             * code : A
             * name : 汽油
             * parentId : 161
             * isDel : false
             * ctime : 2019-12-26T02:48:07.000+0000
             * mtime : 2019-12-26T02:48:09.000+0000
             * backup : 汽油
             */

            private int id;
            private String  code;
            private String  name;
            private int     parentId;
            private boolean isDel;
            private String  ctime;
            private String  mtime;
            private String  backup;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public boolean isIsDel() {
                return isDel;
            }

            public void setIsDel(boolean isDel) {
                this.isDel = isDel;
            }

            public String getCtime() {
                return ctime;
            }

            public void setCtime(String ctime) {
                this.ctime = ctime;
            }

            public String getMtime() {
                return mtime;
            }

            public void setMtime(String mtime) {
                this.mtime = mtime;
            }

            public String getBackup() {
                return backup;
            }

            public void setBackup(String backup) {
                this.backup = backup;
            }
        }
    }
}
